//
//  MSG_BOX_View.h
//  ICE_Player
//
//  Created by xl on 11-7-10.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ICE_View_Interface.h"
#import "MSG_BOX_OK_BTN.h"
#import "MSG_BOX_CANCEL_BTN.h"

typedef enum eMSG_BOX_TYPE {
	MT_UNKNOWN_BOX = 0,
	MT_WIFI_BOX = 1,
	MT_FILE_DELETE_BOX = 2,
	MT_SINGLE_BTN_BOX = 3,
	MT_DOUBLE_BTN_BOX = 4,
    MT_YESNO_BTN_BOX = 5,
} MSG_BOX_TYPE;


@interface MSG_BOX_View : ICE_View {
	MSG_BOX_OK_BTN* ok_btn;
	MSG_BOX_CANCEL_BTN* cancel_btn;
    ICE_Label_View* title_lb;
	ICE_Label_View* msg_lb;
    ICE_Label_View* ok_lb;
    ICE_Label_View* cancel_lb;
    ICE_Image_View* back_view;
    
    id ret_obj;
	SEL ret_callback;
}

@property (nonatomic, retain) IBOutlet MSG_BOX_OK_BTN* ok_btn;
@property (nonatomic, retain) IBOutlet MSG_BOX_CANCEL_BTN* cancel_btn;
@property (nonatomic, retain) IBOutlet ICE_Label_View* title_lb;
@property (nonatomic, retain) IBOutlet ICE_Label_View* msg_lb;
@property (nonatomic, retain) IBOutlet ICE_Label_View* ok_lb;
@property (nonatomic, retain) IBOutlet ICE_Label_View* cancel_lb;
@property (nonatomic, retain) IBOutlet ICE_Image_View* back_view;

- (void) Show_Box_NSString:(MSG_BOX_TYPE)box_type  title_content:(NSString*)title msg_content:(NSString*)msg_str parent_view:(UIView*)parent result_obj:(id)obj result_notify:(SEL)method;
- (void) Show_Box:(MSG_BOX_TYPE)box_type  title_content:(ICE_String*)title msg_content:(ICE_String*)msg_str parent_view:(UIView*)parent result_obj:(id)obj result_notify:(SEL)method;
- (void) Hide_Box;

- (IBAction)On_OK_BTN_Click:(id)sender;
- (IBAction)On_CANCEL_BTN_Click:(id)sender;

@end
